package com.herui.sdyu_lib.http.param;


import com.herui.sdyu_lib.http.okhttp.OKHttpRequestCall;
import com.herui.sdyu_lib.http.okhttp.RetrofitCall;

import okhttp3.Interceptor;

public class RetrofitParam extends BaseParams<RetrofitParam> {

	private long readTimeOut;
	private long writeTimeOut;
	private long connTimeOut;

	private String baseUrl;

	private Interceptor interceptor;

	public String getBaseUrl() {
		return baseUrl;
	}

	public RetrofitParam baseUrl(String baseUrl) {
		this.baseUrl = baseUrl;
		return this;
	}

	public RetrofitParam setInterceptor(Interceptor interceptor) {
		this.interceptor = interceptor;
		return this;
	}

	@Override
	public RetrofitCall buildRetrofit() {
		return new RetrofitCall(this,interceptor);
	}

	@Override
	public OKHttpRequestCall buildOkhttp() {
		return null;
	}

}
